package com.rcw.filelib;

import android.content.Intent;
import androidx.fragment.app.FragmentActivity;

import com.rcw.filelib.ui.FilePickerActivity;


/**
 * Created by ruancw on 2017/3/14.
 */

public class FilePicker {
    public static final int FILE_PICKER_RESULT_CODE = 222;
    public static final String FILE_PICKER_INTENT_PARAM_DOCUMENT = "Document";

    public static void start(FragmentActivity context, int requestCode) {
        context.startActivityForResult(new Intent(context, FilePickerActivity.class), requestCode);
    }
}
